<div class="jodit_dialog_box" style="z-index: 1080; position: fixed">
    <div class="jodit_dialog p-0 col-md-9 col-lg-6" style="height: 500px">
        <div class="jodit_dialog_header font-thin">
            <h4 class="font-thin">文件管理器</h4>
            <label class="jodit_button" title="Upload"><i class="fa fa-plus"></i> 上传
                <input type="file" class="hide" accept="{{mimetype}}/*" multiple
                       onchange="angular.element(this).scope().file_change(this)">
            </label>
            <label class="jodit_button" ng-click="refresh_folder($event)" title="Refresh"><i class="fa fa-refresh"></i>
                刷新</label>
            <label class="jodit_button" ng-click="delete_files($event)" title="Delete"><i class="fa fa-trash"></i>
                删除</label>
            <label class="jodit_button" ng-click="clean($event)" title="Clean"><i class="fa fa-eraser"></i> 清除</label>
            <label class="jodit_button" ng-click="confirm_files($event)" title="Confirm"><i class="fa fa-check"></i> 确认</label>
            <label class="jodit_button jodit_close" title="Close">×</label></div>
        <div class="jodit_dialog_content">
            <div class="jodit_filebrowser non-selected">
                <div class="jodit_filebrowser_files active loading">
                    <div ng-if="mimetype == 'image'" class="item-auto-width gallery">
                        <a class="item {{active(file)}}" ng-click="select(file, $event)" ng-repeat="file in files"><img
                                src="{{file.url}}"></a>
                    </div>

                    <div ng-if="mimetype == 'audio'">
                        <a class="item {{active(file)}}" ng-click="select(file, $event)" ng-repeat="file in files"><img
                                audioplayer src="file"></a>
                    </div>

                    <div ng-if="mimetype == 'video'">
                        <a class="item {{active(file)}}" ng-click="select(file, $event)" ng-repeat="file in files">
                            <img src="{{file.url+'?vframe/jpg/offset/0'}}">
                            <div class="desc">
                                <span class="name">名称：{{file.filename}}</span>
                                <span class="meta">大小: {{filesize(file.size)}}</span>
                            </div>
                            <span class="btn-play play">
                            <span class="btn-play-ring"></span>
                            </span>
                        </a>

                    </div>

                    <div ng-if="mimetype == 'file'">
                        <a class="item fileitem {{active(file)}}" ng-click="select(file, $event)"
                           ng-repeat="file in files">
                            <div class="img"><i class="fa fa-file-o"></i></div>
                            <div class="desc">
                                <span class="name">{{file.filename}}</span>
                                <span class="meta">Size: {{filesize(file.size)}}</span>
                            </div>
                        </a>
                    </div>

                    <div class="loader"><i class="fa fa-spinner"></i></div>
                </div>
                <div class="jodit_filebrowser_status"></div>
            </div>
        </div>
        <div class="jodit_dialog_footer"></div>
        <div class="jodit_dialog_resizer"><i class="fa fa-forumbee"></i></div>
    </div>
    <div class="jodit_dialog_overlay"></div>
</div>